﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPlus.Master" AutoEventWireup="true" CodeBehind="wbfrm_Control_Parqueo.aspx.cs" Inherits="FrontEndPlus.Módulos.Administración.wbfrm_Control_Parqueo" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="Stylesheet" href="css/Estilos.css" type="text/css" media="screen" />
    <style type="text/css">
        .fancy-green .ajax__tab_header {
            background: url(Imagen/blue_bg_Tab.gif) repeat-x;
            cursor: pointer;
        }

        .fancy-green .ajax__tab_hover .ajax__tab_outer, .fancy-green .ajax__tab_active .ajax__tab_outer {
            background: url(Imagen/blue_left_tab.gif) no-repeat left top;
        }

        .fancy-green .ajax__tab_hover .ajax__tab_inner, .fancy-green .ajax__tab_active .ajax__tab_inner {
            background: url(Imagen/blue_right_Tab.gif) no-repeat right top;
        }

        .fancy .ajax__tab_header {
            font-size: 13px;
            font-weight: bold;
            color: #000;
            font-family: sans-serif;
        }

            .fancy .ajax__tab_active .ajax__tab_outer, .fancy .ajax__tab_header .ajax__tab_outer, .fancy .ajax__tab_hover .ajax__tab_outer {
                height: 46px;
            }

            .fancy .ajax__tab_active .ajax__tab_inner, .fancy .ajax__tab_header .ajax__tab_inner, .fancy .ajax__tab_hover .ajax__tab_inner {
                height: 46px;
                margin-left: 16px; /* offset the width of the left image */
            }

            .fancy .ajax__tab_active .ajax__tab_tab, .fancy .ajax__tab_hover .ajax__tab_tab, .fancy .ajax__tab_header .ajax__tab_tab {
                margin: 16px 16px 0px 0px;
            }

        .fancy .ajax__tab_hover .ajax__tab_tab, .fancy .ajax__tab_active .ajax__tab_tab {
            color: #fff;
        }

        .fancy .ajax__tab_body {
            font-family: Arial;
            font-size: 10pt;
            border-top: 0;
            border: 1px solid #999999;
            padding: 8px;
            background-color: #ffffff;
        }

        .auto-style2 {
            width: 307px;
        }

        .auto-style4 {
            height: 33px;
        }

        .fancy-green {
        }

        .fancy-green {
        }

        .fancy-green {
        }

        .fancy-green {
        }

        .fancy-green {
        }

        .fancy-green {
        }

        .fancy-green {
        }

        .fancy-green {
        }

        .DropDownListcompleto {
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel1" runat="server">
        <asp:Image ID="Image1" runat="server" Height="241px" ImageUrl="~/Módulos/Administración/Imagen/Parqueo.jpg" Width="167px" />
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Panel ID="Panel4" runat="server" Width="649px">
        <table align="center" style="background-color: #E8EBF7; border-radius: 10px; filter: alpha(opacity=50);" width="600px" border="10">
            <tr>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                    </asp:ToolkitScriptManager>
                </td>
            </tr>
            <tr>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <h2 style="color: darkblue">Datos del Cliente</h2>
                    <br />
                </td>
            </tr>
            <tr>
                <td align="right" class="auto-style4">Nombre de Cliente:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Nombre" runat="server" MaxLength="48" ReadOnly="True" TabIndex="1" Width="226px"></asp:TextBox>
                    <asp:ImageButton ID="imgbtn_Busqueda" runat="server" ImageUrl="~/Módulos/Administración/Imagen/icono_lupa.gif" CausesValidation="False" /><br />
                    <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator1"
                        runat="server"
                        ControlToValidate="txt_Nombre"
                        CssClass="msjerror"
                        EnableClientScript="False"
                        ErrorMessage="Digitar Nombre del Cliente"
                        ForeColor="Maroon">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" class="auto-style4">Identificación:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Telefono" runat="server" MaxLength="28" ReadOnly="True" TabIndex="2"></asp:TextBox><br />
                    <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator2"
                        runat="server"
                        ControlToValidate="txt_Identificación"
                        CssClass="msjerror"
                        EnableClientScript="False"
                        ErrorMessage="Digitar Identificación"
                        ForeColor="Maroon">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" class="auto-style4">Teléfono:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Identificación" runat="server" MaxLength="10" ReadOnly="True" TabIndex="3"></asp:TextBox><br />
                    <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3"
                        runat="server"
                        ControlToValidate="txt_Telefono"
                        CssClass="msjerror"
                        EnableClientScript="False"
                        ErrorMessage="Digitar número de Teléfono"
                        ForeColor="Maroon">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:TabContainer ID="tc_Asignaciones" runat="server" ActiveTabIndex="1" CssClass="fancy fancy-green" Height="650px" Width="692px">
        <asp:TabPanel ID="tbpn_AsigRutEj" runat="server">
            <HeaderTemplate>Entradas y Salidas</HeaderTemplate>
            <ContentTemplate>
                <asp:Panel ID="Panel3" runat="server" Width="648px">
                    <table align="center" style="background-color: #E8EBF7; border-radius: 10px; filter: alpha(opacity=50);" width="600px">
                        <tr>
                            <td>&nbsp;</td>
                            <td align="right" class="auto-style4"></td>
                            <td class="auto-style4"><b style="color: darkblue">Control de Entradas y Salidas</td>
                        </tr>
                        <caption>
                            <br />
                            <tr>
                                <td class="auto-style4"></td>
                                <td align="right" class="auto-style4">Número de Placa: </td>
                                <td class="auto-style4">
                                    <asp:TextBox ID="txt_Placa" runat="server" CssClass="DropDownListcompleto" MaxLength="10" TabIndex="5"></asp:TextBox><br />
                                    <asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator4"
                                        runat="server"
                                        ControlToValidate="txt_Placa"
                                        CssClass="msjerror"
                                        EnableClientScript="False"
                                        ErrorMessage="Digitar Número de Placa"
                                        ForeColor="Maroon"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style33"></td>
                                <td align="right" class="auto-style33">Fecha Actual: </td>
                                <td class="auto-style33">
                                    <asp:TextBox ID="txt_FechaActual" runat="server" CssClass="DropDownListcompleto" ReadOnly="True" TabIndex="6" Width="81px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td class="auto-style4"></td>
                                <td align="right" class="auto-style4">Hora de Entrada: </td>
                                <td class="auto-style4">
                                    <asp:TextBox ID="txt_HoraEntra" runat="server" CssClass="DropDownListcompleto" MaxLength="10" TabIndex="7" Width="103px"></asp:TextBox>
                                    <asp:MaskedEditExtender
                                        ID="txt_HoraEntra_MaskedEditExtender"
                                        runat="server"
                                        AcceptAMPM="True"
                                        Century="2000"
                                        CultureAMPMPlaceholder=""
                                        CultureCurrencySymbolPlaceholder=""
                                        CultureDateFormat=""
                                        CultureDatePlaceholder=""
                                        CultureDecimalPlaceholder=""
                                        CultureThousandsPlaceholder=""
                                        CultureTimePlaceholder=""
                                        Enabled="True"
                                        ErrorTooltipEnabled="True"
                                        Mask="99:99:99"
                                        MaskType="Time"
                                        TargetControlID="txt_HoraEntra">
                                    </asp:MaskedEditExtender>
                                    <asp:MaskedEditValidator
                                        ID="MaskedEditValidator3"
                                        runat="server"
                                        ControlExtender="txt_HoraEntra_MaskedEditExtender"
                                        ControlToValidate="txt_HoraEntra"
                                        Display="Dynamic"
                                        EmptyValueBlurredText="*"
                                        EmptyValueMessage="La hora es requerida"
                                        ErrorMessage="MaskedEditValidator3"
                                        InvalidValueBlurredMessage="*"
                                        InvalidValueMessage="El formato de hora es incorrecto"
                                        IsValidEmpty="False"
                                        TooltipMessage="Ingresar hora de entrada"
                                        ValidationGroup="MKE"></asp:MaskedEditValidator><br />
                                    <asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator9"
                                        runat="server"
                                        ControlToValidate="txt_HoraEntra"
                                        CssClass="msjerror"
                                        EnableClientScript="False"
                                        ErrorMessage="Digitar Hora de Entrada"
                                        ForeColor="Maroon">
                                    </asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style4"></td>
                                <td align="right" class="auto-style4">Hora de Salida: </td>
                                <td class="auto-style4">
                                    <asp:TextBox ID="txt_HoraSale" runat="server" CssClass="DropDownListcompleto" MaxLength="10" TabIndex="8" Width="103px"></asp:TextBox>
                                    <asp:MaskedEditExtender
                                        ID="MaskedEditExtender1"
                                        runat="server"
                                        AcceptAMPM="True"
                                        Century="2000"
                                        CultureAMPMPlaceholder=""
                                        CultureCurrencySymbolPlaceholder=""
                                        CultureDateFormat=""
                                        CultureDatePlaceholder=""
                                        CultureDecimalPlaceholder=""
                                        CultureThousandsPlaceholder=""
                                        CultureTimePlaceholder=""
                                        Enabled="True"
                                        ErrorTooltipEnabled="True"
                                        Mask="99:99:99"
                                        MaskType="Time"
                                        TargetControlID="txt_HoraSale">
                                    </asp:MaskedEditExtender>
                                    <asp:MaskedEditValidator
                                        ID="MaskedEditValidator1"
                                        runat="server"
                                        ControlExtender="MaskedEditExtender1"
                                        ControlToValidate="txt_HoraSale"
                                        Display="Dynamic"
                                        EmptyValueBlurredText="*"
                                        EmptyValueMessage="Hora de salida es requerida"
                                        ErrorMessage="MaskedEditValidator1"
                                        InvalidValueBlurredMessage="*"
                                        InvalidValueMessage="La hora es invalida"
                                        IsValidEmpty="False"
                                        TooltipMessage="Ingresar hora de salida"
                                        ValidationGroup="MKE"></asp:MaskedEditValidator><br />
                                    <asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator10"
                                        runat="server"
                                        ControlToValidate="txt_HoraSale"
                                        CssClass="msjerror"
                                        EnableClientScript="False"
                                        ErrorMessage="Digitar Hora de Salida"
                                        ForeColor="Maroon">
                                    </asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style4"></td>
                                <td align="right" class="auto-style4">Notas: </td>
                                <td class="auto-style4">
                                    <asp:TextBox ID="txt_Notas" runat="server" CssClass="DropDownListcompleto" MaxLength="50" TabIndex="9" Width="296px"></asp:TextBox><br />
                                    <asp:RequiredFieldValidator
                                        ID="RequiredFieldValidator8"
                                        runat="server"
                                        ControlToValidate="txt_Notas"
                                        CssClass="msjerror"
                                        EnableClientScript="False"
                                        ErrorMessage="Digitar Notas"
                                        ForeColor="Maroon"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td align="right">Registrar:</td>
                                <td>
                                    <asp:ImageButton ID="imgbtn_Calcular" runat="server" Height="71px" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/accept.png" TabIndex="10" Width="100px" /></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td align="right"></td>
                                <td>
                                    <asp:GridView ID="gv_EntrSal" runat="server" AllowPaging="True" AutoGenerateColumns="False" AutoGenerateSelectButton="True" CellPadding="4" CssClass="DropDownListcompleto" ForeColor="#333333" GridLines="None" PageSize="6" Width="50px">
                                        <AlternatingRowStyle BackColor="White" CssClass="alt" ForeColor="#284775" />
                                        <Columns>
                                            <asp:BoundField DataField="PK_ID_ENTRADA_SALIDA" HeaderText="ID" />
                                            <asp:BoundField DataField="FK_ID_CLIENTE" HeaderText="CLIENTE" />
                                            <asp:BoundField DataField="PLACA" HeaderText="PLACA" />
                                            <asp:BoundField DataField="HORA_ENTRADA" HeaderText="ENTRA" />
                                            <asp:BoundField DataField="HORA_SALIDA" HeaderText="SALE" />
                                            <asp:BoundField DataField="CAMPO" HeaderText="CAMPO" />
                                            <asp:BoundField DataField="DESCRIPCION" HeaderText="NOTA" />
                                        </Columns>
                                        <EditRowStyle BackColor="#999999" />
                                        <EmptyDataTemplate>No hay datos disponibles.</EmptyDataTemplate>
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#284775" CssClass="pgr" ForeColor="White" HorizontalAlign="Center" />
                                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                    </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td>&nbsp;</td>
                            </tr>
                        </caption>
                    </table>
                </asp:Panel>
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="tbpn_AsigClaHor" runat="server">
            <HeaderTemplate>Reservaciones</HeaderTemplate>
            <ContentTemplate>
                <asp:Panel ID="Panel2" runat="server" Width="648px" Height="647px" Style="margin-bottom: 34px">
                    <table align="center" style="background-color: #E8EBF7; border-radius: 10px; filter: alpha(opacity=50);" width="600px">
                        <tr>
                            <td>&nbsp;</td>
                            <td align="right" class="auto-style4"></td>
                            <td class="auto-style4"><b style="color: darkblue">Control de Reservaciones</td>
                        </tr>
                        <tr>
                            <td class="auto-style4"></td>
                            <td align="right" class="auto-style4">Número de Placa: </td>
                            <td class="auto-style4">
                                <asp:TextBox ID="txt_PlacaR" runat="server" TabIndex="5" MaxLength="10" CssClass="DropDownListcompleto"></asp:TextBox><br />
                                <asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator6"
                                    runat="server"
                                    ControlToValidate="txt_PlacaR"
                                    CssClass="msjerror"
                                    EnableClientScript="False"
                                    ErrorMessage="Digitar Placa"
                                    ForeColor="Maroon"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style4"></td>
                            <td align="right" class="auto-style4">Fecha Actual: </td>
                            <td class="auto-style4">
                                <asp:TextBox ID="txt_Fecha" runat="server" TabIndex="6" ReadOnly="True" CssClass="DropDownListcompleto" Width="81px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="auto-style4"></td>
                            <td align="right" class="auto-style4">Hora de Reserva: </td>
                            <td class="auto-style4">
                                <asp:TextBox ID="txt_Hora" runat="server" CssClass="DropDownListcompleto" MaxLength="10" TabIndex="7" Width="103px" Height="22px"></asp:TextBox>
                                <asp:MaskedEditExtender
                                    ID="MaskedEditExtender2"
                                    runat="server"
                                    AcceptAMPM="True"
                                    Century="2000"
                                    CultureAMPMPlaceholder=""
                                    CultureCurrencySymbolPlaceholder=""
                                    CultureDateFormat=""
                                    CultureDatePlaceholder=""
                                    CultureDecimalPlaceholder=""
                                    CultureThousandsPlaceholder=""
                                    CultureTimePlaceholder=""
                                    Enabled="True"
                                    ErrorTooltipEnabled="True"
                                    Mask="99:99:99"
                                    MaskType="Time"
                                    TargetControlID="txt_Hora">
                                </asp:MaskedEditExtender>
                                <asp:MaskedEditValidator ID="MaskedEditValidator2"
                                    runat="server"
                                    ControlExtender="MaskedEditExtender2"
                                    ControlToValidate="txt_Hora"
                                    Display="Dynamic"
                                    EmptyValueBlurredText="*"
                                    EmptyValueMessage="La hora es requerida"
                                    ErrorMessage="MaskedEditValidator3"
                                    InvalidValueBlurredMessage="*"
                                    InvalidValueMessage="El formato de hora es incorrecto"
                                    IsValidEmpty="False"
                                    TooltipMessage="Ingresar hora de reserva"
                                    ValidationGroup="MKE"></asp:MaskedEditValidator><br />
                                <asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator7"
                                    runat="server"
                                    ControlToValidate="txt_Hora"
                                    CssClass="msjerror"
                                    EnableClientScript="False"
                                    ErrorMessage="Digitar Hora de Reserva"
                                    ForeColor="Maroon"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td align="right">Rutina: </td>
                            <td>
                                <asp:DropDownList ID="ddl_Rutina" runat="server" CssClass="DropDownListcompleto" Width="140px" TabIndex="22"></asp:DropDownList><br />
                                <asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="ddl_Rutina" CssClass="msjerror" EnableClientScript="False" ErrorMessage="Seleccionar Rutina" ForeColor="Maroon" MaximumValue="2" MinimumValue="1"></asp:RangeValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="auto-style4"></td>
                            <td align="right" class="auto-style4">Notas: </td>
                            <td class="auto-style4">
                                <asp:TextBox ID="txt_Descripcion" runat="server" Width="296px" TabIndex="8" MaxLength="50" CssClass="DropDownListcompleto"></asp:TextBox><br />
                                <asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator5"
                                    runat="server"
                                    ControlToValidate="txt_Descripcion"
                                    CssClass="msjerror"
                                    EnableClientScript="False"
                                    ErrorMessage="Digitar Descripción"
                                    ForeColor="Maroon"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td align="right">Reservar:</td>
                            <td>
                                <asp:ImageButton ID="ImageButton1" runat="server" Height="71px" ImageUrl="~/Módulos/Catálogos y Mantenimientos/Imagen/accept.png" Width="100px" TabIndex="9" /></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td align="right"></td>
                            <td>
                                <asp:GridView ID="gv_Reserva" runat="server" AllowPaging="True" AutoGenerateColumns="False" AutoGenerateSelectButton="True" CellPadding="4" CssClass="DropDownListcompleto" ForeColor="#333333" GridLines="None" PageSize="6" Width="500px">
                                    <AlternatingRowStyle BackColor="White" CssClass="alt" ForeColor="#284775" />
                                    <Columns>
                                        <asp:BoundField DataField="PK_ID_RESERVAR_PARQUEO" HeaderText="ID" />
                                        <asp:BoundField DataField="FK_ID_CLIENTE" HeaderText="CLIENTE" />
                                        <asp:BoundField DataField="PLACA" HeaderText="PLACA" />
                                        <asp:BoundField DataField="HORA_RESERVA" HeaderText="HORA" />
                                        <asp:BoundField DataField="CAMPO" HeaderText="CAMPO" />
                                        <asp:BoundField DataField="DESCRIPCION" HeaderText="NOTA" />
                                    </Columns>
                                    <EditRowStyle BackColor="#999999" />
                                    <EmptyDataTemplate>No hay datos disponibles.</EmptyDataTemplate>
                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#284775" CssClass="pgr" ForeColor="White" HorizontalAlign="Center" />
                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                    <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                    <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                    <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                    <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td></td>
                            <td></td>
                            <td></td>
                        </tr>
                    </table>
                </asp:Panel>
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="tbpn_AsigEntrenador" runat="server">
        </asp:TabPanel>
    </asp:TabContainer>
</asp:Content>
